package com.atguigu.gulimall.ware.feign;

import com.atguigu.common.to.SkuReductionTo;
import com.atguigu.common.to.SpuBoundTo;
import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient("gulimall-product")
public interface ProductClientService {

    @PostMapping("/product/skuinfo/info/{skuId}")
    R getSkuInfo(@PathVariable("skuId") Long skuId);

//    @PostMapping("/coupon/skufullreduction/saveInfo")
//    R saveReduction(SkuReductionTo skuReductionTo);
}
